// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import router from './router';
import { post } from '../ajax/index';
import loading from './components/loading/index';
import '../style/global.css';
import shIvModal from './components/sh-iv-modal/index';
import shModal from './components/sh-modal/index';
Vue.use(iView);

Vue.config.productionTip = false;
Vue.prototype.$post = post;
Vue.use(loading);
Vue.use(shIvModal);
Vue.use(shModal);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
